QP tries are smaller and faster than crit-bit trees

نویسنده

  • Tony Finch
چکیده

A trie data structure stores an ordered set of keys; the branching structure of a trie depends on the lexical properties of its keys independent of the order of insertion. Compact implementations of PATRICIA binary tries called crit-bit trees [2] have just two words of overhead per item stored. A hash array mapped trie (HAMT) [1] has wide fan-out, indexing each tree node using several hashed key bits; each node is compressed using the population count of a bitmap to omit NULL child pointers. Bagwell sketches an un-hashed pure trie variant of HAMT in section 5 but doesn’t eliminate redundant single-child nodes like crit-bit trees. Our contribution, QP tries [3], are similar to crit-bit trees but test 5 bits per indirection instead of 1, using the HAMT bitmap POPCNT trick to keep overhead to at most two 64 bit words per item. QP tries prefetch the child pointer array while calculating which child is next; this reduces indirection latency and increases performance by about 5%. QP tries have variable-sized nodes, so stress memory allocation more than crit-bit tries, but are usually much cheaper in other respects. We created similar implementations of QP tries and crit-bit trees, and benchmarked them using lists of: English words; identifiers in the BIND9 source code; domain names from a university; Alexa top million domain names. We measured average: trie depth; space overhead per item; mutation and search time. BODY Typical QP trie depth is 0.35-0.40 space is 0.5-0.6 time is 0.6-0.8 of equivalent crit-bit tree.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

الگوریتم کنترل نرخ بیت متغیر ویدئو در سطح گروه تصاویر برای استاندارد فشرده‎سازی H.265

A rate control algorithm at the group of picture (GOP) level is proposed in this paper for variable bit rate applications of the H.265/HEVC video coding standard with buffer constraint. Due to structural changes in the HEVC compared to the previous standards, new rate control algorithms are needed to be designed. In the proposed algorithm, quantization parameter (QP) of each GOP is obtained by ...

متن کامل

Search Based Weighted Multi-Bit Flipping Algorithm for High-Performance Low-Complexity Decoding of LDPC Codes

In this paper, two new hybrid algorithms are proposed for decoding Low Density Parity Check (LDPC) codes. Original version of the proposed algorithms named Search Based Weighted Multi Bit Flipping (SWMBF). The main idea of these algorithms is flipping variable multi bits in each iteration, change in which leads to the syndrome vector with least hamming weight. To achieve this, the proposed algo...

متن کامل

Search Based Weighted Multi-Bit Flipping Algorithm for High-Performance Low-Complexity Decoding of LDPC Codes

In this paper, two new hybrid algorithms are proposed for decoding Low Density Parity Check (LDPC) codes. Original version of the proposed algorithms named Search Based Weighted Multi Bit Flipping (SWMBF). The main idea of these algorithms is flipping variable multi bits in each iteration, change in which leads to the syndrome vector with least hamming weight. To achieve this, the proposed algo...

متن کامل

Effects of fin size on swimming performance, swimming behaviour and routine activity of zebrafish Danio rerio.

The zebrafish Danio rerio exhibits substantial morphological variability in the sizes and shapes of the body and the caudal fin. The present study describes swimming performance, swimming behaviour and routine locomotor activity patterns in three of the major morphotypes: wild-type, long-finned and no-tail. Wild-type and long-finned differ in total length (TL), fork length (FL), caudal fin leng...

متن کامل

A High-Speed Dual-Bit Parallel Adder based on Carbon Nanotube ‎FET technology for use in arithmetic units

In this paper, a Dual-Bit Parallel Adder (DBPA) based on minority function using Carbon-Nanotube Field-Effect Transistor (CNFET) is proposed. The possibility of having several threshold voltage (Vt) levels by CNFETs leading to wide use of them in designing of digital circuits. The main goal of designing proposed DBPA is to reduce critical path delay in adder circuits. The proposed design positi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • TinyToCS

دوره 4  شماره 

صفحات  -

تاریخ انتشار 2016